import request from './request'

//1.查询车牌
export function getCarNo(params: object) {
  return request({
    url: `/charge4gv2/wechat/getHealthReport/getCarNo`,
    method: 'get',
    params
  })
}
// 2.查询车型
export function getCarModel(params: object) {
  return request({
    url: `/charge4gv2/wechat/getHealthReport/getCarModel`,
    method: 'get',
    params,
  })
}

// 3.查询电池基本信息
export function getBatteryBaseData(params: object) {
  return request({
    url: `/charge4gv2/wechat/getHealthReport/getBatteryBaseData`,
    method: 'get',
    params,
  })
}
// 4.查询车辆综合评分及电池级别、剩余容量
export function getCarScore(params: object) {
  return request({
    url: `/charge4gv2/wechat/getHealthReport/getCarScore`,
    method: 'get',
    params
  })
}

// 5.查询健康评估指标分析
export function getHealthAssAnalysis(params: object) {
  return request({
    url: `/charge4gv2/wechat/getHealthReport/getHealthAssAnalysis`,
    method: 'get',
    params
  })
}

// 6.查询订单分析
export function getOrderAnalysis(params:object) {
  return request({
    url: `/charge4gv2/wechat/getHealthReport/getOrderAnalysis`,
    method: 'get',
    params: params,
  })
}

// 7.最大温升速率变化趋势
export function getMaxTempRiseRate(params:object) {
  return request({
    url: `/charge4gv2/wechat/getHealthReport/getMaxTempRiseRate`,
    method: 'get',
    params
  })
}


// 8.单体最高温度变化趋势
export function getSignalMaxTemp(params:object) {
  return request({
    url: `/charge4gv2/wechat/getHealthReport/getSignalMaxTemp`,
    method: 'get',
    params
  })
}

// 9.单体最高温度分布
export function getSignalMaxTempDist(params:object) {
  return request({
    url: `/charge4gv2/wechat/getHealthReport/getSignalMaxTempDist`,
    method: 'get',
    params
  })
}

// 10.单体最高电压变化趋势
export function getSignalMaxVoltage(params:object) {
  return request({
    url: `/charge4gv2/wechat/getHealthReport/getSignalMaxVoltage`,
    method: 'get',
    params
  })
}


// 11.单体最高电压分布
export function getSignalMaxVoltageDist(params:object) {
  return request({
    url: `/charge4gv2/wechat/getHealthReport/getSignalMaxVoltageDist`,
    method: 'get',
    params
  })
}


// 12.查询soc一致性
export function getSocConsistency(params:object) {
  return request({
    url: `/charge4gv2/wechat/getHealthReport/getSocConsistency`,
    method: 'get',
    params
  })
}

// 13.温度一致性
export function getTempConsistency(params:object) {
  return request({
    url: `/charge4gv2/wechat/getHealthReport/getTempConsistency`,
    method: 'get',
    params
  })
}

// 14.查询电压一致性
export function getVoltageConsistency(params:object) {
  return request({
    url: `/charge4gv2/wechat/getHealthReport/getVoltageConsistency`,
    method: 'get',
    params
  })
}
// 15. 上传截图
export function postUpload(file: Object) {
  return request({
    url: `/charge4gv2/sys/common/upload`,
    method: 'post',
    data:file,
  })
}